<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0px;
            margin: 0px;
        }

        .box1 {

            width: 380px;
            height: 100px;
            background-color: #fff;
            margin: 100px auto;
            padding: 5px;
        }

        .box2 {
            float: left;
            margin-right: 5px;
            width: 170px;
            height: 100px;
        }

        .box2 img {
            width: 100%;
        }

        .box1 p {
            overflow: hidden;
            text-overflow: ellipsis;
            display:-webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
     .box1 a {
         display: block;
          padding-top: 10px;
         text-decoration: none;
         font-size: 14px;
         color: #666;

     }
    </style>
</head>

<body>
    <div class="box1">
        <div class="box2">
            <img src="images/imag.jpg" alt="">
        </div>
        <p> 中国拿下壹佰伍拾亿基建订单 帮塞尔维亚修建铁路 中铁到底有多牛</p>
        <a href="#">宁香早间新闻</a>
    </div>

</body>

</html>